/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-09-10
*/
package com.rzico.order.entity;

import lombok.Data;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   团购订单数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_group_order")
public class GroupOrder{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "团购号" )
    protected Long groupBuyId;

    @ApiModelProperty(value = "创建人" )
    protected Long memberId;

    //
    protected String avatar;

    //
    protected String nickname;

    @ApiModelProperty(value = "订单编号", hidden = true)
    protected String sn;

    @ApiModelProperty(value = "收货地址 id")
    protected Long receiverId;

    @ApiModelProperty(value = "地区")
    protected Integer areaId;

    @ApiModelProperty(value = "地区名称")
    protected String areaName;

    @ApiModelProperty(value = "地址")
    protected String address;

    @ApiModelProperty(value = "收货人")
    protected String consignee;

    @ApiModelProperty(value = "联系电话")
    protected String phone;

    @ApiModelProperty(value = "状态（0.待审核，1.已成交, 2.已退款,3.已取消）" )
    protected Integer orderStatus;

    @ApiModelProperty(value = "订单号" )
    protected Long orderId;


    @ApiModelProperty(value = "是否机器人" )
    protected Boolean robot;


    @ApiModelProperty(value = "企业" )
    protected Long enterpriseId;

    @ApiModelProperty(value = "期数ID" )
    protected Long periodId;

}
